cmake_minimum_required(VERSION 2.8)

project(typhoon_predict)

set(CMMAKE_BUILD_TYPE Realease)
set(CMAKE_CXX_FLAGS "-std=c++14 -O3")

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})

find_package(Ceres REQUIRED)
include_directories(${CERES_INCLUDE_DIRS})

# include_directories("/usr/include/eigen3")
find_package(Eigen3)
include_directories(
  ${catkin_INCLUDE_DIRS}
  ${EIGEN3_INCLUDE_DIR}
)


add_executable(predict predict.cpp guass_newton.cpp ku.cpp)
target_link_libraries(predict ${OpenCV_LIBS} ${CERES_LIBRARIES})